package com.github.permissiondog.cancanpandroid.repository;

import android.util.Pair;

import java.util.List;
import java.util.Optional;

import okhttp3.Cookie;

public interface LocalRepository {
    void saveCookies(List<Cookie> cookies);
    List<Cookie> getCookies();
    void deleteAllCookies();
    void setPreference(String key, String value);
    Optional<String> getPreference(String key);
    List<Pair<String, String>> getPreferences();
}
